$(function () {
    setUser();
})

function setUser() {
    let data=myAjax("/back/user/manange","","get");
    if(data.username==null){
        window.open("/login.html");
    }else {
        $("#username").html(data.username);
    }


}